/**
 * 
 */
package com.kbcss.dao;

//import java.util.Date;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.kbcss.dto.Department;
import com.kbcss.dto.UserDetails;

/**
 * @author ibm123
 *
 */
public class UserDao extends HibernateDaoSupport{
	public void createUser(String userId,String password,String fName,String lName,String email,String dob,String gender,String regdNo,Department depart,String phno){
		UserDetails user=new UserDetails(userId,password,fName,lName,email,dob,gender,regdNo,depart,phno);
		//user.setDepart(depart);
		getHibernateTemplate().save(user);
	}
	

}
